package com.willcode.demo.mvc.view.model;

/**
 * @author Will
 */
public class Re {

    private String code;
    private String msg;
    private Object body;

    public Re() {
        this.code = "200";
    }

    public Re(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Re(String code, String msg, Object body) {
        this.code = code;
        this.msg = msg;
        this.body = body;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getBody() {
        return body;
    }

    public void setBody(Object body) {
        this.body = body;
    }
}
